package com.service.imp;

import com.dao.DeleteDao;
import com.service.DeleteService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class DeleteServiceImp implements DeleteService {
    @Autowired
    private DeleteDao deleteDao;
    public int deleteUser(int id) {
        return deleteDao.deleteUser(id);
    }

    public int deleteProvider(int id) {
        return deleteDao.deleteProvider(id);
    }

    public int deleteGoods(int id) {
        return deleteDao.deleteGoods(id);
    }

    public int deleteMember(int id) {
        return deleteDao.deleteMember(id);
    }
}
